package com.toy.service;

import com.toy.entity.User;
import com.toy.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements  UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User listUser() {
        return userMapper.listUsers();
    }
}
